<div class="main">
  <p class="title">修改密码</p>
  <form action="#" method="post">
  <div class="up">
      <img src="assets/images/sure-psw.png" alt="确认密码">
      <input type="password" placeholder="新密码" required [(ngModel)]="password1" name="password1">
  </div>
  <div class="up">
      <img src="assets/images/psw-sure.png" alt="密码确认">
      <input type="password" placeholder="确认新密码" required [(ngModel)]="password2" name="password2">
  </div>

      <!-- <div class="tishi" id="head-tishi">
          <img src="assets/images/true.png" alt="判定">
          <p>密码由8-16位数字、字母或下划线组成</p>
      </div>

      <div class="tishi">
          <img src="assets/images/true.png" alt="判定">
          <p>含两种以上字符</p>
      </div>

      <div class="tishi">
          <img src="assets/images/false.png" alt="判定">
          <p style="color: #e06f6f">两次输入的密码不一致</p>
      </div> -->

      <input type="submit" value="下一步" class="btn-next" (click)=next()>
  </form>
</div>